Question 1

What structs should be used to decode the following JSON file?

{ 
  "menuList": [ 
    { 
      "title": "Greek Salad", 
      "amount": 12.99, 
      "highlight": "Our delicious salad is served with Feta cheese and peeled cucumber. Includes tomatoes, onions, olives, salt and oregano in the ingredients.", 
      "thumbnail": "greekSalad.jpg", 
    }, 
    { 
      "title": "Bruschetta", 
      "amount ": 7.99, 
      "highlight ": "Delicious grilled bread rubbed with garlic and topped with olive oil and salt. Our Bruschetta includes tomato and cheese.", 
      "thumbnail": "bruschetta.jpg" 
    }, 
    { 
      "title": "Grilled Fish", 
      "amount ": 20.00, 
      "highlight": "Fantastic grilled fish seasoned with salt.", 
      "thumbnail": "grilledFish.jpg" 
    } 
  ] 
} 


Question 2

Which of the following functions sorts by name and image in ascending order at the same time, and is also case and diacritic insensitive?


Question 3

Which function returns a predicate that retrieves entries whose names contain "John Doe" and dishDescriptions that contain "Apple Pie", all case and diacritic insensitive?


Question 4

Through this course, you have been asked to create a project with the following structure:

What should be added to the hero section?